package org.apache.ibatis.lynchTest;

public class Test {
    public static void main(String[] args) {
        Box<Integer> integerBox = new Box<>(20);
        Box<String> stringBox = new Box<>("Hello, World!");

        // 在运行时，integerBox和stringBox都是Box类型
        System.out.println(integerBox instanceof Box); // 输出：true
        System.out.println(stringBox instanceof Box); // 输出：true

    }
}